//===================================
//File: SHELF.h
//SHOWCASE Declaration
//Name: Smirnova O.P.
//Date: 28.06.12, v.1.0
//===================================
#ifndef SELF_H
#define SELF_H
#include "Point.h"
#include <iostream>
//---------------------------------------------------------------------------

class Shelf{ 
unsigned int id;
static unsigned int count;
static unsigned int count_all;
protected:
	Point tl; // top-left point of shelf
	int w,h; // width/height of shelf
	
public:
	Point getPoint();
	int getWidth();
	int getHeight();
	Shelf();
	Shelf(Point tl,int w,int h);
	~Shelf();
	void moveTo (Point p);
	void write();		
	void moveTodXdY (double x, double y);
	const unsigned int getID();
    static unsigned int countObject();
};
#endif
